<?php if(!defined('PATH_HD'))exit;
$db->exe("DROP TABLE IF EXISTS `hd_access`");
$db->exe("CREATE TABLE `hd_access` (
  `nid` int(11) NOT NULL,
  `rid` smallint(6) NOT NULL,
  `level` tinyint(1) NOT NULL,
  KEY `rid` (`rid`),
  KEY `nid` (`nid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8");

?>